package com.itheima.Base;

public class Trad5 {
    public static void main(String[] args) {
        int[][] arr = {{11,22,33},{44,55,66}};
        int sum = 0;
        for (int i = 0; i < arr.length; i++) {
            for (int m = 0; m < arr[i].length; m++) {
                System.out.println(arr[i][m]);
                sum += arr[i][m];

            }

        }
        System.out.println("sum =" + sum );

    }
}
